/**
 * <copyright>
 *
 * Copyright (c) 2015 IBM Corporation and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors: 
 *   IBM - Initial API and implementation
 *
 * </copyright>
 *
 * $Id$
 */
package org.eclipse.jet.internal.taglib.utils;

public enum DateStyle {
    
    MON_DD_HH_MM_SS_ZZZ_YYYY("EEE MMM dd HH:mm:ss zzz yyyy", false), //$NON-NLS-1$
  
    YYYY("yyyy", false), //$NON-NLS-1$
    YYYY_MM("yyyy-MM", false), //$NON-NLS-1$
    YYYY_MM_DD("yyyy-MM-dd", false), //$NON-NLS-1$
    YYYY_MM_DD_HH_MM("yyyy-MM-dd HH:mm", false), //$NON-NLS-1$
    YYYY_MM_DD_HH_MM_SS("yyyy-MM-dd HH:mm:ss", false), //$NON-NLS-1$
    
    YYYY_MM_EN("yyyy/MM", false), //$NON-NLS-1$
    YYYY_MM_DD_EN("yyyy/MM/dd", false), //$NON-NLS-1$
    YYYY_MM_DD_HH_MM_EN("yyyy/MM/dd HH:mm", false), //$NON-NLS-1$
    YYYY_MM_DD_HH_MM_SS_EN("yyyy/MM/dd HH:mm:ss", false), //$NON-NLS-1$
    
    YYYY_MM_CN("yyyy年MM月", false), //$NON-NLS-1$
    YYYY_MM_DD_CN("yyyy年MM月dd日", false), //$NON-NLS-1$
    YYYY_Mm_dd_hh_mm_cn("yyyy年mm月dd日 hh:mm", false), //$non-nls-1$
    yyyy_mM_DD_HH_MM_SS_CN("yyyy年MM月dd日 HH:mm:ss", false), //$NON-NLS-1$
    
    HH_MM("HH:mm", false), //$NON-NLS-1$
    HH_MM_SS("HH:mm:ss", false), //$NON-NLS-1$
    
    MM_DD("MM-dd", false), //$NON-NLS-1$
    MM_DD_HH_MM("MM-dd HH:mm", false), //$NON-NLS-1$
    MM_DD_HH_MM_SS("MM-dd HH:mm:ss", false), //$NON-NLS-1$
    
    MM_DD_EN("MM/dd", false), //$NON-NLS-1$
    MM_DD_HH_MM_EN("MM/dd HH:mm", false), //$NON-NLS-1$
    MM_DD_HH_MM_SS_EN("MM/dd HH:mm:ss", false), //$NON-NLS-1$
    
    MM_DD_CN("MM月dd日", false), //$NON-NLS-1$
    MM_DD_HH_MM_CN("MM月dd日 HH:mm", false), //$NON-NLS-1$
    MM_DD_HH_MM_SS_CN("MM月dd日 HH:mm:ss", false); //$NON-NLS-1$
    
    private String value;
    
    private boolean isShowOnly;
    
    DateStyle(String value, boolean isShowOnly) {
        this.value = value;
        this.isShowOnly = isShowOnly;
    }
    
    public String getValue() {
        return value;
    }
    
    public boolean isShowOnly() {
        return isShowOnly;
    }
}
